home *** CD-ROM | disk | FTP | other *** search
- // Copyright (C) 1997-2002 Alias|Wavefront,
- // a division of Silicon Graphics Limited.
- //
- // The information in this file is provided for the exclusive use of the
- // licensees of Alias|Wavefront. Such users have the right to use, modify,
- // and incorporate this code into other products for purposes authorized
- // by the Alias|Wavefront license agreement, without fee.
- //
- // ALIAS|WAVEFRONT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
- // INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
- // EVENT SHALL ALIAS|WAVEFRONT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
- // CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
- // DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
- // TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- // PERFORMANCE OF THIS SOFTWARE.
- //
- // Set Paint Edit Tool UI script
- //
- global proc setEditPaintProperties()
- {
- // load the files since it does not do it automatically
- //
- source "setEditPaintCallback.mel";
- source "setEditPaintValues.mel";
-
-
- setUITemplate -pushTemplate DefaultTemplate;
-
- string $parent =`toolPropertyWindow -q -location`;
- setParent $parent;
-
- columnLayout -adj true setEditPaint;
-
- // define all the tab labels for select paint editor
- //
- string $section[4];
- $section[0] = "SetMembership";
- $section[1] = "Stroke";
- // $section[2] = "Mask";
- $section[2] = "Display";
- $section[3] = "Misc";
-
- jasperProperties( "setEditPaint", "setEditPaintCtx",
- $parent, "NONE", 4, $section
- );
-
- setParent ..;
-
- setUITemplate -popTemplate;
- }
-
- global proc jasperSetEditProperties(
- string $jasperMode,
- string $currentTab,
- string $currentTool
- )
- {
- setParent $currentTab;
-
- columnLayout -w 361 -cat "both" 1 -adj true;
- rowColumnLayout -nc 2 -cw 1 1 -cw 2 360;
-
- separator -h 10 -style "none";
- separator -h 10 -style "none";
- separator -h 10 -style "none";
-
- //
- // Stamp Profile frameLayout
- //
- jasperStampProfileProperties( $jasperMode, $currentTool );
-
- separator -h 10 -style "none";
- separator -h 10 -style "none";
- separator -h 10 -style "none";
-
-
- //
- // Set Memebrship operation frameLayout
- //
- frameLayout -l "Operation" -la "center" -li 5
- -bs "etchedIn" -collapse false -collapsable false;
- columnLayout;
- separator -h 10 -style "none";
- radioButtonGrp -l "" -nrb 3 -cw4 10 75 80 80
- -l1 "Add " -l2 "Transfer" -l3 "Remove"
- setEditOperationRadio;
- separator -h 10 -style "none";
- setParent ..;
- setParent ..;
-
-
- separator -h 10 -style "none";
- separator -h 10 -style "none";
- separator -h 10 -style "none";
-
-
- //
- // Set Membership flag frameLayout
- //
- frameLayout -l "Set Membership" -la "center" -li 5
- -bs "etchedIn" -collapse false -collapsable false;
- columnLayout;
-
- separator -h 10 -style "none";
- rowColumnLayout -nc 2 -cw 1 5 -cw 2 300 -columnAlign 2 "left";
- separator -h 5 -style "none";
- text -label "Select Set To Modify";
- setParent ..;
-
- rowColumnLayout -nc 2 -cw 1 5 -cw 2 300;
- separator -h 5 -style "none";
- textScrollList -w 300 -h 100 -nr 10 -ams false setEditScrollList;
- setParent ..;
-
- separator -h 10 -style "none";
-
- textFieldGrp -label "Set To Modify" -w 300 -cw2 90 210
- objectSetNameField;
-
- separator -h 5 -style "none";
- separator -h 5 -style "none";
-
- setParent ..;
- setParent ..;
-
-
- setParent ..;
- setParent ..;
- }
-
-